<!DOCTYPE HTML>
<html lang="zh-hans" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta content="webkit|ie-comp|ie-stand" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
          name="viewport"/>
    <meta content="no-siteapp" http-equiv="Cache-Control"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" th:src="@{/lib/html5shiv.js}"></script>
    <script type="text/javascript" th:src="@{/lib/respond.min.js}"></script>
    <![endif]-->
    <link rel="stylesheet" th:href="@{/h-ui/css/H-ui.min.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/h-ui.admin/css/H-ui.admin.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/lib/Hui-iconfont/1.0.8/iconfont.css}" type="text/css"/>
    <link id="skin" rel="stylesheet" th:href="@{/h-ui.admin/skin/green/skin.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/h-ui.admin/css/style.css}" type="text/css"/>
    <!--[if IE 6]>
    <script type="text/javascript" th:src="@{/lib/DD_belatedPNG_0.0.8a-min.js}"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>单项赛登记表</title>
</head>
<body>
<article class="page-container">
    <form class="form form-horizontal" id="form-group-add" method="post"
          th:action="@{/championship/addMemberChampionship}">
        <input name="_method" th:value="${method}" type="hidden"/>
        <div class="row cl"></div>
        <div class="row cl"></div>
        <div class="bk-gray radius">
            <input class="input-text" name="ID" th:value="${memberChampionship.ID}"
                   type="hidden">
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">单打：</label>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">姓名：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="singlePlayerName" th:value="${memberChampionship.singlePlayerName}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">身份证：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="singlePlayerIDCard"
                           th:value="${memberChampionship.singlePlayerIDCard}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性别：</label>
                <div class="formControls col-xs-8 col-sm-9 skin-minimal">
                    <div class="radio-box">
                        <input id="msex-1" name="singlePlayerSex"
                               th:checked="${memberChampionship.singlePlayerSex} eq '男' " type="radio"
                               value="男">
                        <label for="msex-1">男</label>
                    </div>
                    <div class="radio-box">
                        <input id="msex-2" name="singlePlayerSex"
                               th:checked="${memberChampionship.singlePlayerSex} eq '女' " type="radio"
                               value="女">
                        <label for="msex-2">女</label>
                    </div>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">年龄：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="singlePlayerAge" th:value="${memberChampionship.singlePlayerAge}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性质：</label>
                <div class="formControls col-xs-8 col-sm-9">
               <span class="select-box" style="width:150px;">
			<select class="select" name="singlePlayerRole" size="1">
				<option th:selected="${memberChampionship.singlePlayerRole} eq '男单'" value="男单">男单</option>
				<option th:selected="${memberChampionship.singlePlayerRole} eq '女单'" value="女单">女单</option>
			</select>
			</span></div>
            </div>
        </div>

        <div class="bk-gray radius">
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">双打选手1：</label>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">姓名：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerName" th:value="${memberChampionship.groupPlayerName}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">身份证：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerIDCard"
                           th:value="${memberChampionship.groupPlayerIDCard}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性别：</label>
                <div class="formControls col-xs-8 col-sm-9 skin-minimal">
                    <div class="radio-box">
                        <input id="msex-12" name="groupPlayerSex"
                               th:checked="${memberChampionship.groupPlayerSex} eq '男' " type="radio"
                               value="男">
                        <label for="msex-12">男</label>
                    </div>
                    <div class="radio-box">
                        <input id="msex-22" name="groupPlayerSex"
                               th:checked="${memberChampionship.groupPlayerSex} eq '女' " type="radio"
                               value="女">
                        <label for="msex-22">女</label>
                    </div>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">年龄：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerAge" th:value="${memberChampionship.groupPlayerAge}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性质：</label>
                <div class="formControls col-xs-8 col-sm-9"> <span class="select-box" style="width:150px;">
			<select class="select" name="groupPlayerRole" size="1">
				<option th:selected="${memberChampionship.groupPlayerRole} eq '男双'" value="男双">男双</option>
				<option th:selected="${memberChampionship.groupPlayerRole} eq '女双'" value="女双">女双</option>
			</select>
			</span></div>
            </div>
            <div class="line"></div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">双打选手2：</label>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">姓名：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerName2" th:value="${memberChampionship.groupPlayerName2}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">身份证：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerIDCard2"
                           th:value="${memberChampionship.groupPlayerIDCard2}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性别：</label>
                <div class="formControls col-xs-8 col-sm-9 skin-minimal">
                    <div class="radio-box">
                        <input id="msex-123" name="groupPlayerSex2"
                               th:checked="${memberChampionship.groupPlayerSex2} eq '男' " type="radio"
                               value="男">
                        <label for="msex-123">男</label>
                    </div>
                    <div class="radio-box">
                        <input id="msex-223" name="groupPlayerSex2"
                               th:checked="${memberChampionship.groupPlayerSex2} eq '女' " type="radio"
                               value="女">
                        <label for="msex-223">女</label>
                    </div>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">年龄：</label>
                <div class="formControls col-xs-8 col-sm-9">
                    <input class="input-text" name="groupPlayerAge2" th:value="${memberChampionship.groupPlayerAge2}"
                           type="text">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">性质：</label>
                <div class="formControls col-xs-8 col-sm-9"> <span class="select-box" style="width:150px;">
			<select class="select" name="groupPlayerRole2" size="1">
				<option th:selected="${memberChampionship.groupPlayerRole2} eq '男双'" value="男双">男双</option>
				<option th:selected="${memberChampionship.groupPlayerRole2} eq '女双'" value="女双">女双</option>
			</select>
			</span></div>
            </div>
        </div>

        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
        <h1 style="font-size: 18px" th:text="${msg}"></h1>
    </form>
</article>

<!--_footer 作为公共模版分离出去-->
<script th:src="@{/lib/jquery/1.9.1/jquery.min.js}" type="text/javascript"></script>
<script th:src="@{/lib/layer/2.4/layer.js}" type="text/javascript"></script>
<script th:src="@{/h-ui/js/H-ui.min.js}" type="text/javascript"></script>
<script th:src="@{/h-ui.admin/js/H-ui.admin.js}" type="text/javascript"></script>
<!--请在下方写此页面业务相关的脚本-->
<script th:src="@{/lib/datatables/1.10.15/jquery.dataTables.min.js}" type="text/javascript"></script>
<script th:src="@{/lib/laypage/1.2/laypage.js}" type="text/javascript"></script>
</body>
</html>